import json
import io
# 读取json文件
with io.open('.\json\\aConfig.json', 'r', encoding='gbk') as f:
    data = json.load(f)
# 将数据重新编码为utf-8
with io.open('.\json\\aConfig.json', 'w', encoding='utf-8') as f:
    f.write(json.dumps(data, ensure_ascii=False))